package com.shundr.auth.user.model;

import java.io.Serializable;

import com.j256.ormlite.field.DatabaseField;
import com.j256.ormlite.table.DatabaseTable;

/**
 * 员工信息
 * 
 * @author Zhaoyy
 *
 */
@DatabaseTable(tableName = "StaffInfo")
public class StaffInfo implements Serializable {

	public StaffInfo(Integer staffId, String staffHeadPic, Integer staffTypte,
			String staffQrCodePic, String staffPhone, Integer staffUserState,
			Integer areaId, String accessToken, String staffName,
			String staffStatus) {
		super();
		this.staffId = staffId;
		this.staffHeadPic = staffHeadPic;
		this.staffTypte = staffTypte;
		this.staffQrCodePic = staffQrCodePic;
		this.staffPhone = staffPhone;
		this.staffUserState = staffUserState;
		this.areaId = areaId;
		this.accessToken = accessToken;
		this.staffName = staffName;
		this.staffStatus = staffStatus;
	}

	public StaffInfo() {
	}

	/**
	 * 
	 */
	private static final long serialVersionUID = 1L;

	/**
	 * 员工编号，主键
	 */
	@DatabaseField(generatedId = true)
	public Integer staffId;
	
	@DatabaseField
	public String staffHeadPic;
	
	@DatabaseField
	public Integer staffTypte;
	
	@DatabaseField
	public String staffQrCodePic;
	
	@DatabaseField
	public String staffPhone;
	
	@DatabaseField
	public Integer staffUserState;
	@DatabaseField
	public Integer areaId;
	@DatabaseField
	public String accessToken;

	/**
	 * 移动电话号码，用于短信消息发送，同时用作初始登录密码
	 */
	@DatabaseField
	public String staffName;

	/**
	* 
	*/
	@DatabaseField
	public String staffStatus;

	public Integer getStaffId() {
		return staffId;
	}

	public void setStaffId(Integer staffId) {
		this.staffId = staffId;
	}

	public String getStaffName() {
		return staffName;
	}

	public void setStaffName(String staffName) {
		this.staffName = staffName;
	}

	public String getStaffStatus() {
		return staffStatus;
	}

	public void setStaffStatus(String staffStatus) {
		this.staffStatus = staffStatus;
	}

	public static long getSerialversionuid() {
		return serialVersionUID;
	}

	public String getStaffHeadPic() {
		return staffHeadPic;
	}

	public void setStaffHeadPic(String staffHeadPic) {
		this.staffHeadPic = staffHeadPic;
	}

	public Integer getStaffTypte() {
		return staffTypte;
	}

	public void setStaffTypte(Integer staffTypte) {
		this.staffTypte = staffTypte;
	}

	public String getStaffQrCodePic() {
		return staffQrCodePic;
	}

	public void setStaffQrCodePic(String staffQrCodePic) {
		this.staffQrCodePic = staffQrCodePic;
	}

	public String getStaffPhone() {
		return staffPhone;
	}

	public void setStaffPhone(String staffPhone) {
		this.staffPhone = staffPhone;
	}

	public Integer getStaffUserState() {
		return staffUserState;
	}

	public void setStaffUserState(Integer staffUserState) {
		this.staffUserState = staffUserState;
	}

	public Integer getAreaId() {
		return areaId;
	}

	public void setAreaId(Integer areaId) {
		this.areaId = areaId;
	}

	public String getAccessToken() {
		return accessToken;
	}

	public void setAccessToken(String accessToken) {
		this.accessToken = accessToken;
	}

}
